Skip to content

Convert hui-text-entity-row to TypeScript/LitElement#2017

Merged
balloob merged 3 commits intohome-assistant:devfrom
iantrich:ts-text-entity
Nov 8, 2018
Merged

Convert hui-text-entity-row to TypeScript/LitElement#2017
balloob merged 3 commits intohome-assistant:devfrom
iantrich:ts-text-entity

Conversation

@iantrich
Copy link
Copy Markdown
Member

@iantrich iantrich commented Nov 7, 2018

No description provided.

@ghost ghost assigned iantrich Nov 7, 2018
@ghost ghost added the in progress label Nov 7, 2018
import { TemplateResult } from "lit-html";

import "../components/hui-generic-entity-row";
import "./hui-error-entity-row";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

<div>${computeStateDisplay(
this.localize,
stateObj,
this.hass!.language
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need a ! here because you already check for this.hass existing on line 32 ?

Copy link
Copy Markdown
Member

@balloob balloob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok to merge when CI passes.

@balloob balloob merged commit 9596f73 into home-assistant:dev Nov 8, 2018
@ghost ghost removed the in progress label Nov 8, 2018
return html`
${this.renderStyle()}
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a bonus > here which I removed in f4b64ee

@iantrich iantrich deleted the ts-text-entity branch November 16, 2018 19:17
@github-actions github-actions bot locked and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants